#ifndef COORD3D_H
#define COORD3D_H

#include "vector3D.h"

class coord3D
{
public:
	coord3D();
	coord3D(float x_new, float y_new, float z_new);
        void setValues(float x_new, float y_new, float z_new);
        bool isEqual(coord3D other);
	float x();
	float y();
	float z();
        vector3D toVector(coord3D head);//returns the normalized vector


private:
	float xValue; 
	float yValue;
	float zValue;
        float round(float x);//round to 2 decimals
};

#endif
